<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="/wondershare/js/products.js"></script>
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />
<title>产品属性管理</title>
</head>
<body >
<h1>
<span class="action-span">
<a href="/wondershare/product_attributes.php?action=index&act=add&web_type=<{$web_type}>">添加产品属性</a>
</span>
<span class="action-span1">
<a href="/wondershare/products.php?action=index&web_type=<{$web_type}>"><{$web_info}>网站产品信息</a>
</span>
<span id="search_id" class="action-span1"> - 产品属性列表 </span>
<div style="clear:both"></div>
</h1>

<table width="100%" cellspacing="1" cellpadding="2" id="list-table" class="list-div">
<tbody>
  <tr>
    <th >ID</th>
    <th>名称</th>
	<th>发布者</th>
	<th>发布时间</th>
    <th>修改者</th>
	<th>修改时间</th>
    <th>编辑</th>
  </tr>
<{foreach from=$attributes_info item=attributes}>
  <tr align="center"  id="tr_<{$attributes.id}>">
	<td width="5%" align="center"><{$attributes.id}> </td>
    <td width="25%" align="center" id="td_attributes_name_<{$attributes.id}>">
	 <span   onmouseout="check_css('attributes_name_<{$attributes.id}>',0);" onmouseover="check_css('attributes_name_<{$attributes.id}>',1);"
	onclick="check_info('<{$attributes.id}>','attributes_name_<{$attributes.id}>','td_attributes_name_<{$attributes.id}>','250','attributes_name');"  id="attributes_name_<{$attributes.id}>" > <{$attributes.name}> </span>
	</td>

	<td width="15%" align="center"><{$attributes.add_user}> </td>
	<td width="10%" align="center"><{$attributes.add_time}> </td>
	
	<td width="15%" align="center"><{$attributes.update_user}> </td>
	<td width="10%" align="center"><{$attributes.update_time}> </td>

	<td width="10%" align="center">
   <a href="#" onclick="{if(confirm('确定要删除记录吗?')){delete_info(<{$attributes.id}>,'tr_<{$attributes.id}>','attributes_delete');}return false;}" > 删除</a>&nbsp; |&nbsp;
	<a href="/wondershare/product_attributes.php?action=index&act=edit&attributes_id=<{$attributes.id}>&web_type=<{$web_type}>" > 编辑 </a>
    </td>
  </tr>
 <{/foreach}>
	<tr><td colspan="7">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<{$page_url}> &nbsp;&nbsp;&nbsp; 共有 <span id="total"><{$total}> </span>条记录</td></tr>
  </tbody>
</table>
</body>
</html>